package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 出库订单发货表
 *
 * @author wxw
 * @email
 * @date 2020-03-28 22:54:53
 */

@Data
@TableName("unimall_sales_send_order")
public class SalesSendOrderDO extends SuperDO {

    /**
     *
     */
    /**
     * 仓库Id
     */
    @TableField("warehouse_id")
    public Long warehouseId;
    /**
     * 出库备注
     */
    @TableField("send_order_info")
    public String sendOrderInfo;
    /**
     * 门店Id
     */
    @TableField("store_id")
    public Long storeId;

    /**
     * 门店类型
     */
    @TableField("store_type")
    private Integer storeType;
    /**
     *
     */
    @TableField("send_order_no")
    private String sendOrderNo;
    /**
     * 0代表待出库1代表已出库2代表拒绝出库
     */
    @TableField("send_order_state")
    private Integer sendOrderState;
    /**
     * 操作人
     */
    @TableField("admin_id")
    private Long adminId;
    /**
     * 出库人真实姓名
     */
    @TableField("admin_realname")
    private String adminRealname;
    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;
    /**
     *
     */
    @TableField("gmt_update")
    private Date gmtUpdate;
    /**
     * 审核人
     */
    @TableField("check_id")
    private Long checkId;
    /**
     * 审核时间
     */
    @TableField("check_time")
    private Date checkTime;
    /**
     * 出库时间
     */
    @TableField("send_out_time")
    private Date sendOutTime;
    /**
     * 出库商品数量
     */
    @TableField("send_order_goods_count")
    private Float sendOrderGoodsCount;
    /**
     * 出库商品价格
     */
    @TableField("send_order_goods_price")
    private Integer sendOrderGoodsPrice;
    /**
     * 门店名称
     */
    @TableField("store_name")
    private String storeName;
    /**
     * 确认人真实姓名
     */
    @TableField("send_order_confirm_realname")
    private String sendOrderConfirmRealname;
    @TableField("send_order_conpon")
    private Integer sendOrderConpon;
    @TableField("store_contract")
    private String storeContract;

    @TableField("store_contract_phone")
    private String storeContractPhone;
    @TableField("send_order_confirm_userId")
    private Long sendOrderConfirmUserId;
    @TableField("check_comment")
    private String checkComment;
    @TableField("check_user_realname")
    private String checkUserRealname;

    @TableField("send_order_price")
    private Integer sendOrderPrice;

    @TableField(exist = false)
    private Long storePurchaseOrderId;

    @TableField(exist = false)
    private Long storeStockEntryId;
    @TableField(exist = false)
    private List<SalesSendOrderGoodsDO> skus;
}
